const mockData = {
  // 币种列表
  'get|/api/exchange/currencies': {
    code: 0,
    message: 'success',
    data: ['HDFS', 'USDT', 'ETH', 'BTC']
  },
  
  // 汇率信息
  'get|/api/exchange/rates': {
    code: 0,
    message: 'success',
    data: {
      rates: {
        'HDFS-USDT': 0.1,
        'HDFS-ETH': 0.00005,
        'HDFS-BTC': 0.000002,
        'USDT-HDFS': 10,
        'USDT-ETH': 0.0005,
        'USDT-BTC': 0.00002,
        'ETH-HDFS': 20000,
        'ETH-USDT': 2000,
        'ETH-BTC': 0.04,
        'BTC-HDFS': 500000,
        'BTC-USDT': 50000,
        'BTC-ETH': 25
      },
      updateTime: '2023-07-29 12:30'
    }
  },
  
  // 用户余额
  'get|/api/exchange/balance': {
    code: 0,
    message: 'success',
    data: {
      'HDFS': '1000',
      'USDT': '100',
      'ETH': '0.5',
      'BTC': '0.01'
    }
  },
  
  // 兑换记录
  'get|/api/exchange/records': {
    code: 0,
    message: 'success',
    data: {
      total: 10,
      list: [
        { 
          id: 1, 
          date: '2023-07-28', 
          from: 'HDFS', 
          to: 'USDT', 
          fromAmount: '100', 
          toAmount: '10', 
          status: '已完成' 
        },
        { 
          id: 2, 
          date: '2023-07-25', 
          from: 'ETH', 
          to: 'HDFS', 
          fromAmount: '0.1', 
          toAmount: '2000', 
          status: '处理中',
          estimatedCompletion: '2023-07-26 12:00'
        },
        { 
          id: 3, 
          date: '2023-07-20', 
          from: 'HDFS', 
          to: 'BTC', 
          fromAmount: '5000', 
          toAmount: '0.01', 
          status: '已完成' 
        }
      ]
    }
  },
  
  // 提交兑换请求
  'post|/api/exchange/submit': {
    code: 0,
    message: 'success',
    data: {
      orderId: '202307290001',
      status: '处理中',
      estimatedCompletion: '2023-07-30 12:00'
    }
  }
}

export default mockData